package com.wlps.result;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 返回实体类型数据的封装
 */
@Data
@AllArgsConstructor

@ApiModel(value = "返回值对象", description = "")
@NoArgsConstructor
public class ResultVo<T> {
    @ApiModelProperty(value = "返回提示信息")
    private String msg;
    @ApiModelProperty(value = "返回状态码")
    private int code;
    @ApiModelProperty(value = "返回数据")
    private T data;

}
